cmake_minimum_required (VERSION 3.6)

project(system)

file(GLOB SRC "thread/thread_boot.c" "thread/thread_notify.c" "thread/thread_display.c")

add_library(${PROJECT_NAME} STATIC ${SRC})

add_dependencies(${PROJECT_NAME} kernal_rtos kernal_cmsis drv_lcd framework_ams messager framework_log apps)

target_link_libraries(${PROJECT_NAME} kernal_rtos kernal_cmsis drv_lcd framework_ams messager framework_log apps m)
target_compile_options(${PROJECT_NAME} PRIVATE -g)